package com.tomatosystem.board.dto;

import java.io.Serializable;

public class BoardUserDto implements Serializable {
	private String id;
	private String password;
	private int auth;
	private String name;
	private String address;
	public BoardUserDto() {
		
	}
	public BoardUserDto(String id, String password, int auth, String name,
			String address) {
		super();
		this.id = id;
		this.password = password;
		this.auth = auth;
		this.name = name;
		this.address = address;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getAuth() {
		return auth;
	}
	public void setAuth(int auth) {
		this.auth = auth;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("[")
		.append(this.id+"/")
		.append(this.auth+"/")
		.append(this.name+"/")
		.append(this.address+"]");
		
		return sb.toString();	
	}	
}
